package com.clt.ess.gjzw.domain;

import java.io.Serializable;
//接口入参的基本信息
public class RvSecret implements Serializable {
    //secret主键id
    private Integer secretId;
    //接口编码
    private String interfaceCode;
    //接口对应的secret
    private String secret;
    //接口对应的appKey
    private String appKey;
    //创建时间
    private String creatTime;
    //租户名称
    private String userName;
    //接口名称
    private String interfaceName;
    //用户密码
    private String password;

    private static final long serialVersionUID = 1L;

    public RvSecret() {
    }

    public RvSecret(Integer secretId, String interfaceCode, String secret, String appKey, String creatTime, String userName, String interfaceName, String password) {
        this.secretId = secretId;
        this.interfaceCode = interfaceCode;
        this.secret = secret;
        this.appKey = appKey;
        this.creatTime = creatTime;
        this.userName = userName;
        this.interfaceName = interfaceName;
        this.password = password;
    }

    public Integer getSecretId() {
        return secretId;
    }

    public void setSecretId(Integer secretId) {
        this.secretId = secretId;
    }

    public String getInterfaceCode() {
        return interfaceCode;
    }

    public void setInterfaceCode(String interfaceCode) {
        this.interfaceCode = interfaceCode;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(String creatTime) {
        this.creatTime = creatTime;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getInterfaceName() {
        return interfaceName;
    }

    public void setInterfaceName(String interfaceName) {
        this.interfaceName = interfaceName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"secretId\":")
                .append(secretId);
        sb.append(",\"interfaceCode\":\"")
                .append(interfaceCode).append('\"');
        sb.append(",\"secret\":\"")
                .append(secret).append('\"');
        sb.append(",\"appKey\":\"")
                .append(appKey).append('\"');
        sb.append(",\"creatTime\":\"")
                .append(creatTime).append('\"');
        sb.append(",\"userName\":\"")
                .append(userName).append('\"');
        sb.append(",\"interfaceName\":\"")
                .append(interfaceName).append('\"');
        sb.append(",\"password\":\"")
                .append(password).append('\"');
        sb.append('}');
        return sb.toString();
    }
}